package com.dailyblue.java.project.smbms.goods.feign.fallback;

import com.dailyblue.java.commons.util.JsonResult;
import com.dailyblue.java.commons.util.ResultTool;
import com.dailyblue.java.project.smbms.goods.feign.ProviderFeign;
import org.springframework.stereotype.Component;

@Component
public class ProviderFeignFallback implements ProviderFeign {
    @Override
    public JsonResult find(int id) {
        return ResultTool.fail(id + "的供应商获取失败！");
    }
}
